/*
----------------------------------
    Rodeo Game Engine

    Rodeo Entity Module
    Sprite.h - header file

    Copyright(c) Marcin Goryca
----------------------------------
*/
#ifndef RODEO_ENTITY_SPRITE_H_
#define RODEO_ENTITY_SPRITE_H_

#ifndef RODEO_ENTITY_ENTITY_H_
#include "entity\entity.h"
#endif    //RODEO_ENTITY_ENTITY_H_

namespace rodeoentity
{
class Sprite : public Entity
{
public:
    Sprite()
    :Entity("", "sprite")
    {}

    virtual ~Sprite(){}
    
    virtual void render();
    virtual void update();

    // Gets Width value of the Sprite
    // Returns unsigned int width
    unsigned int getWidth() const { return width_; }

    // Gets Height value of the Sprite
    // Returns unsigned int height
    unsigned int getHeight() const { return height_; }

    // Sets Width of the Sprite
    void setWidth(unsigned int width) { width_ = width; }

    // Sets Height of the Sprite
    void setHeight(unsigned int height) { height_ = height; }

//==== MEMBERS ====//
private:
    unsigned int width_;
    unsigned int height_;
};
}    // end of rodeoentity namespace
#endif    //RODEO_ENTITY_SPRITE_H_